//
//  IncomeTableViewCell.m
//  SmartCoin
//
//  Created by apple on 2018/3/7.
//  Copyright © 2018年 Cynic. All rights reserved.
//

#import "IncomeTableViewCell.h"

@implementation IncomeTableViewCell
//@property (nonatomic ,retain)UIView *bgview;
//@property (nonatomic ,retain)UILabel *deslabel;
//@property (nonatomic ,retain)UILabel *moneylabel;
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    _bgview = [[UIView alloc] initWithFrame:CGRectMake(0, 0, cx_wid, 235)];
    _deslabel = [[UILabel alloc] initWithFrame:CGRectMake(cx_wid / 2 - 28, 79, 70, 20)];
    _moneylabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 101, cx_wid, 56)];
    _deslabel.textColor = _moneylabel.textColor = [UIColor whiteColor];
    _deslabel.textAlignment = _moneylabel.textAlignment = NSTextAlignmentCenter;
    _deslabel.font = [UIFont systemFontOfSize:14];
    _moneylabel.font = [UIFont systemFontOfSize:40];
    [self.contentView addSubview:_bgview];
    [self.contentView addSubview:_deslabel];
    [self.contentView addSubview:_moneylabel];
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
